home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
misc~1
/
30
/
pcbatch
/
color.bat
< prev
next >
Wrap
DOS Batch File
|
1986-12-04
|
305b
|
14 lines
echo off
cls
if %:a==0 goto error
if %1==red echo @F 1
if %1==green echo @F 2
if %1==black echo @F 0
if %1==white echo @F 3
exit
:error
echo @F 1 format: COLOR color_name
echo purpose: Change the foreground color to color_name
echo # choices are: red, green, black, white.
echo @F 0